package com.xueyiyue.xueyiyue.service;

import com.xueyiyue.xueyiyue.model.entity.*;

import java.util.List;

public interface UserService {
    List<JobsListVo> getFavoriteJobsList(Favorite favorite);
    List<NewsListVo> getFavoriteNewsList(Favorite favorite);
    List<JobsListVo> getJobsList(JobsListVo jobsListVo);
    List<NewsListVo> getNewsList(NewsListVo newsListVo);
    List<Dictionary> getDicData(Dictionary dictionary);
    UserInfo getUserInfo(String openId);
    Integer enterUserInfo(UserInfo userInfo);
    UserInfoDetail getUserInfoDetail(UserInfoDetail userInfoDetail);
    Integer enterUserInfoDetail(UserInfoDetail userInfoDetail);
    Integer createNews(NewsVo newsVo);
    Integer deleteNews(NewsVo newsVo);
    Integer deleteJobs(JobsVo jobsVo);
    Integer createJobs(JobsVo jobsVo);
    Integer favorite(Favorite favorite);
}
